<template>
    <div id="app">
	    <transition name="el-zoom-in-center">
            <router-view></router-view>
		</transition>
    </div>
</template>
<script>
 export default{
    created(){
	    if(!sessionStorage.getItem('user')&&this.$router.currentRoute.path!="/login") this.$router.replace('/login');
	}
 }
</script>
<style>
@import './assets/style/common.css';
</style>
